﻿@model List<WikeSoft.Enterprise.Models.Sys.RoleModel>

<fieldset class="layui-elem-field layui-field-title">
    <legend>所属角色列表</legend>
</fieldset>
<div class="layui-form-item">
    @foreach (var role in Model)
    {
        <input type="checkbox" name="RoleIds" value="@role.Id" title="@role.RoleName" @(role.Checked ? "checked='checked'" : "") />
    }
</div>
